package application

import (
	"shyxy-net/gateway/config"
	"shyxy-net/gateway/http/services"
)

type Application struct {
	config         *config.Config
	serviceManager *services.ServiceManager
}

func newApplication(config *config.Config, serviceManager *services.ServiceManager) *Application {
	return &Application{
		config:         config,
		serviceManager: serviceManager,
	}
}

func (a *Application) Config() *config.Config {
	return a.config
}
func (a *Application) ServiceManager() *services.ServiceManager {
	return a.serviceManager
}
